package com.cqeec.gams.service;

import java.util.List;
import java.util.Map;

import com.cqeec.gams.entity.Account;

public interface AccountService extends BaseService<Account> {

	Account login(String name, String password);

	Map<String, Object> changePassword(String id, String oldPassword, String newPassword, String confirmPassword);

	long count(Account entity);

	List<Account> findPage(int startRowNumber, int pageSize, Account entity);

}
